<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
		<title>我的订单</title>
		<link rel="stylesheet" href="__PUBLIC__css/reset.css" />
		<link rel="stylesheet" href="__PUBLIC__css/store.css" />
	</head>
	<body>
		<div class="layout">
			<!--header-->
			<div class="wrapper">
				<div class="header">
					<a class="s_preson" href="{:U('Users/index')}" target="_blank"> < </a>
					<div class="store">
						订单管理
					</div>
					<div class="s_index">
						<i class="s_icon s_indexBtn"></i>
					</div>
				</div>
			</div>
			
			<div class="orders">
				<ul class="orders_box">
                    <volist name="myOrder" id="or">
                        <li>
                            <div class="orders_list">
                                <div class="orders_info">
                                    <p><span>订单编号：</span><em class="orderColor">{$or.order_sn}</em></p>
                                    <p><span>订单金额：</span>$<em>{$or.goods_amount}</em></p>
                                    <p><span>订单时间：</span><em>{$or.timee}0</em></p>
                                    <p><span>订单状态：</span><em>{$or.order_status_b}，{$or.pay_status_b}</em></p>
                                </div>
                                <div class="orders_btn">
                                    <p>
                                        <a href="{:U('Users/myOrderInfo',array(id=>$or[id]))}">详情</a>
                                        <if condition="($or['pay_status'] eq 0)">
                                            | <a href="{:U('Users/delOrder',array(id=>$or[id]))}">取消</a>
                                        </if>
                                    </p>
                                </div>
                            </div>
                        </li>
                    </volist>
				</ul>
			</div>
			<div class="footer">
				<p>©2015 北京食安城信息科技有限公司，并保留所有权利</p>
			</div>
		</div>
	</body>
</html>
